package cn.dg.manager.order.dao;

import java.util.List;
import java.util.Map;

import cn.dg.manager.common.entity.GoodsComboboxBean;
import cn.dg.manager.order.entity.OrderDetailResultBean;
import cn.dg.manager.order.entity.OrderDetailVO;

public interface OrderDetailDao {

	List<OrderDetailResultBean> getOrderDetailInfo(Map<String, Object> params);

	List<GoodsComboboxBean> getGoodsComboboxList();

	/**
	 * 批量插入订单详细信息
	 * 
	 * @param orderDetailVOList
	 * @return
	 */
	int insertOrderDetailList(List<OrderDetailVO> orderDetailVOList);

	/**
	 * 根据订单号删除订单详情数据
	 * 
	 * @param orderIDList
	 * @return
	 */
	long delOrderDetailInfoByOrderIDList(List<String> orderIDList);

	/**
	 * 根据订单号获取订单详情
	 * 
	 * @param orderId
	 * @return
	 */
	List<OrderDetailVO> getOrderDetailEditInfo(String orderId);

}
